#include "test.h"
#include "ScnsInclude.h"
#include "headfile.h"

static void nrfSend(void)
{
    static const uint8 txAddr[5]={0X12,0X25,0XFF,0XFF,0XFF};
    static const uint8 data[]="ASDF\n";
    scnsNrf24L01Send(SCNS_NRF24L01_1,txAddr,data,(sizeof data)-1);
}

static void uartSend(void)
{
    printfFL("asjkhdhakjsdhajksdhkja\n");
}

void test(void)
{
    scnsMenuSetPage(9,"test",NULL);
    scnsMenuAddFunction(9,nrfSend);
    scnsMenuAddFunction(9,uartSend);
    scnsMenuAddFunction(9,scnsSmctpExtOscilloscopeTest);
    scnsMenuAddFunction(9,scnsTimerTest);
    scnsMenuAddFunction(9,scnsBeepTest);
//scnsJoystickCorrection(SCNS_JOYSTICK_L);
    //scnsJoystickCorrection(SCNS_JOYSTICK_R);
    scnsMenuAddTest(9);
}

